package com.zhx.experiment.mapper;

import com.zhx.experiment.entity.Blog;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BlogMapper {

    List<Blog> findAll();

    void insertBlog(Blog blog);

    Blog queryBlog(String title);

    void updateBlog(Blog blog);

    void deleteBlog(String title);
}
